﻿@using Microsoft.JSInterop
@inject IJSRuntime JS;

<elsa-workflow-definition-editor-screen server-url="@ServerUrl" workflow-definition-id="@WorkflowDefinitionId" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min"></elsa-workflow-definition-editor-screen>

@code{

    [Parameter]
    public string ServerUrl { get; set; } = default!;

    [Parameter]
    public string WorkflowDefinitionId { get; set; } = default!;
}